#9 added calc on update
#9 budget and accounts calculations