update entities constrains
Merge remote-tracking branch 'origin/feature/init_classes' into feature/rest_services