update database scheme