update for rails fix