add budget aggregates to the db