Update some unuseful code