Support update_listing in CLI mode. Close #45.