update status codes