Use subparsers to get command line arguments
Fix broken datetime check in --update functionality