Update agroup.php