Update editor alternative only when it is really needed.