Update to take partition date parameters