just a simple script for updating database