Updates the prototype