wip create and update a patient