Updates gems to meet security requirements

Please review @costford @maartenvg