Updating the list to the right syntax