Switch off the phone. Then turn on by pressing volume down + power button. Once samsung logo appear, release power button but keep pressing volume down. You will directly go to safe mode. And once update done, safe mode will deactivate automatically.