change model message index