patieht.c/h now capable of updating all fields through functions.