updating controller files