onupdate event for drawr client