new category storage and saving to db