repository refresh task

repository usage info is optional, so better represented with a Long instead of its primitive type (default 0)