update codebase and get working with newest ruby and libraries