update onoff links to use url_for to blueprints