update version
encode urls for template context
copy(request) causes recursion error