Updated Db\Relations mechanism