replace sum on account after transaction