update some things in file.{ctrl,tpl}.php