UPDATE device
SET
  device_name = $1,
  device_location = $2,
  creation_date = $3
WHERE
  device_id = $4,