added option updateOutBounds