update database
updating database variables