update rails and content