save resident.
Resident add&edit.