Correct way to update Vikunja Debian package?

I got Error internal error and it will not load the data from the database such as tasks though i was able to log in.

Could be the same issue here Version 0.24.0 - Internal Server Error (Breaking change) - #6 by jonasled