add lib and edit selector