update for cylinder