Added an --update option