function to update system easyly