added update.php

group.php added a update fucntion

groupcontroller added function