Update lookup_write for the correct inputs.