Hopefully last change to update function.