update query and jquery-ui