updating API
cleanign