Update fix_permissions