updated the rails engine file