updates releases controller to set slug