Cheecky dict update function does not return any value