update interface for passing dates