Init and Resize event updated