update deps before building