Set cacheTtl for query
Update record in sandwich example