Update produces whack output with empty updates object