firebird: update and fix, hopefully works

but it depends on #334