Update deprecated syntax