Adding command line parsing for update option