Update api, used opps-piston