Added command to sync permission