Add cleanup of json folder on update