UPDATE record
SET downloads = downloads + 1
WHERE cache_name = ?
RETURNING
    cache_name,
    uploaded,
    downloads,
    max_downloads;
