Update group when a file or a group is runned