update the database definition for the prescription