update method and a method for converting from entity to form