Trying update to account for different success codes from api server