update width.