<div class="form-group">
                        <label>College <?php 
echo tpl_department::department();
?>
 : </label>
                        <select name="<?php 
echo tpl_department::department() . '_' . tpl_department::id_companies() . '_update';
?>
"
                                id="<?php 
echo tpl_department::department() . '_' . tpl_department::id_companies() . '_update';
?>
"
                                class="form-control">
                            <?php 
$new = new department_lib_ad();
echo $new->find_companies();
?>
                        </select>
                    </div>

                    <button type="submit" class="btn btn-success" id="update" name="update">Save</button>
                </form>
                </br>
                </br>
                <div class="" id="result_massages_update"></div>
            </div>
        </div>
    </div>
</div>
 public function update_status()
 {
     $lib = new department_lib_ad();
     $lib->update_status();
 }