Commit the changes every 50 blocks saved