Update layer.hpp