rename wal and integrate