Fixed syntax error in Application permission update;