Added first iteration of updateContents function to interfaceUpdate.js