Update the permissions