update to 3.1.1, move assets from `lib` to `asset`