Updating layout and adding facts