update goods api