Fixed aliases in update function.