implement updating of amount