updated dao and user and index