edit contacts method