Updates a small piece of code