Fixed update bug