add cash and update cash