added prepare_update_params_distinct() method