commit for local mode