updating switchDetail view using marionette.js functions