fix update repositories on project close/open