PUT create and update working