Fix warnings and update deps