Possible fix for updating records in db and removed json dir v2