converted system update to ajax