update database scripts and java handlers.