annoying flush, when to save, optimistic locking, update and refresh troubles