UPDATE devices
SET
  device_name = $1,
  device_location = $2,
  creation_date = $3,
  update_date = $4
WHERE
  device_id = $5