update read me and make selected work with passing a selector