update generate price