update from deprecated sintax