change min and max values for pressure