update course detail and new detail controllers