update bootstrap version to 3, add rails layout for update and destroy