Added an --update option to cli