How to edit publication's generation_leveling_threshold configuration value
I think what you may be looking for is sp_changemergepublication.

This stored procedure will allow you to modify generation_leveling_threshold value.