editInfo controller functional