tests and implementation for create and update methods
mend