Update submit command with index on_success listener