Add check for GD lib
Add timestamps to belongsToMany
pivotData -> pivot