fixed bugs for auto update of budgets