Security updates for rails