automately commit