update sensor size