Implemented reconnection of relations after moving data blocks