access to DB adjust with the new schema