toggle relation map according uid and add hover