updated submit mission function