updated get api