update domain classes for using spring security