updated legacy app
use set_instance_vars in index action