Update status code