update rotate valve method#