Add update functionality for prescriptions