added edit history to backend