jsonmanager and dbmanager updated, probably not working perfect