update database and the new site