update amount