update api about goods