updating rails for security