After I git submodule update it always checks out the same commit. for example 34561.
I do git checkout master for submodule a
You need to go into the submodule folder and execute:
git fetch --all --prune
git pull origin master
And now you will have the latest commit in the submodole.
Once you run the fetch its updatigng your .git folder under the submodule with the latest commits. It will make sure that you have the recent changes.