changed deposit dates to be stored as Long in the DB