fix the framing, fix some update tile cases