postgres requires empty array to be explicitly cast on update