Working for the edit category page