Updating layout template and type library