udpate rails