Move around a conditional
extract save_note method to simplify update method