update dependencies and fix for array elements