add id in title when edit document