added new commandline argument for the task the script should execute
implemented update command