core: making updateDate a member

chaing updateDate to be a class member to avoid passing it between the
different class methods.

Change-Id: I33af57ada23ca81c469f0fc01932affb8298a69f
Signed-off-by: Liron Aravot <laravot@redhat.com>