fix findcontactbytitle and update contact