update rails, fix approve path and id on new project