update permissions and other settings