js2db update. also added update and synchronize functions.