UPDATE sessions SET expires = current_timestamp + '$(expiryInterval) millisecond'::INTERVAL, data=$(data), user_id=$(userId) WHERE id=decode($(sessionId),'hex');