update api buy items and get user items