made some style changes and added group edit function