update for 500 status error