Updates for using VLAD