fixed use of auto_link to use dummy helper class, and update some active record calls