minor changes (syntax) in entity and formtype update