usings $q in edit route