json updates, added log system