Can I update the program without losing my data?
Yes, you can. The updating only affects the program files, not the database itself.
IMPORTANT: in spite of this, before every updating (and also independently from updating, namely as often a possible) saving of the database is recommended. You can read more about why is this important and how can be performed at the related topics.