Changed notification code to fix path problem and added provider readdition on poll