Function update

Updates the given object with the expression.