Update doc and rezise window control