updated caffe dependencies