adds back commits dict