update dimensions, image