update versions and main method settings.