merge preferences