added methods to update dayLeftObject