resolved error "undefined method 'updates'"