update rails and bootstrap gems. and modified layouts.