fixed method call
fixed update url
type hints
resolved warnings