directive on set callback
udpated readme for onset callback