updated main core