update layout for jqueryui