Add controller spec for index and update methods.