changes in wallet calculate