Added more htmlayout event handling.
HTML Update functions added