add edit view for category