UPDATE agent SET
    full_name = $1,
    credential = $2,
    credential_type = $3,
    last_updated = $4
WHERE id = $5
RETURNING 
    id,
    full_name,
    credential,
    credential_type as "credential_type: _",
    time_created,
    last_updated;