implemented update; added error unsupported handling to format module to prevent segfault