Fix update status code