Upgrading rails and mysql for security purposes