Updating submodules. Calculating credits via observer design pattern.