update coins value