updated achieve grid layout