UPDATE

Add resize function.