adjusts the update the permissions