Fixed bug where the updating authorization was not properly checked on client-side and server-side.