saving and updating person details in person from search controller