added provided features to edit_category, one complete use case ready, but with bugs