commit offline