prepare category and budget data