Taking Tom's advice to heart - create and update functions will now
accept objects