update gradle file & build system