remove potential leaks and warnings
update shared project data