Added update_metadata, clear_metadata, and usage description code