Update median
Refactored online_resource_urls decorator. Fixes #401.