Made edit contact to work with DataMapper