ajax on updating pressure preference for patient