update rails hack