event observer for install