Fixed issue: Error 'Property "Permission.entity_id" is not defined' when updating