update whbox and ace editor