setting name in case of editing datasource