Added script to update database