updates rails, fixes security problems