updating DB for script changes