add some changes to tables relations