add save_attrs route