Updating stores ui after api changes