Updating rails for security