Update permission check.