if (payload.hasOwnProperty(key)) { updates[key] = payload[key]; } __ __