updated patients application