fix bug updates and clean code
update config.example for notify_url