updates command line arguments