update database and web server