Make the commit after stats are updated