Apply transaction log