Add dao connect callback