Updated the library for select elements