added pre-update database