Fixed update bug with layout false