Associated Press criticized for update to same-sex marriage language