update rails cache