updated controller files