Change relationship of DB