Reinstated support for updating jobs previously every-d
Added agenda.cancel funtion