update contact field in database