emit close event and updated readme