Myblog: modify the edit function