add edit of categories on pic edit view