set ids for models on connect