changes to the urls in the views to use new helper
remove a deprecated function