update check for 200 code