update aggregate