Fixed the laravel controller function publishQuiz. It needed to use the first() method instead of get(). This allows me to have access to the save function. Since there is only ever 1 quiz in the database by that unique ID using first will always return the result I need.