update

Shouldn't it be width/2 and height/2?