Added ability to pass method name as second argument to `update_elasticsearch` instead of block