Collection update and upsert

Is collection.update with upsert :true the same as collections.upsert? Any differences? Thanks