function to modify price added