added callback to hmset in category.create