updated valve model