updating articles controller and index