Fixed invalid url in watchdog messages and converted deprecated watchdog function