Set the value of the given object field
{AnyObject|Array} the object context
{String} path to field
{*} the value to set. if it is function, it is invoked with the old value and must return the new value.
Set the value of the given object field