update typings and edit readme