update cylinder