update the files to use params and forms