updating gems to 4.0