Update in pattern for different small,medium,big size.