Add table update function in manage controller