cleanup and ruby update