updates for rails