Added category to edit-resource