update interface. added resize ratio