add resources associations