added command to rebuild tags relations