Update domain model for spring security