Fixed updating element in IE.