Update gem versions to fix potential security issues