update amounts and clone object