update rails scripts