Edit getMsg within X distance