Update exercise view and fix sync with external database