Update internal#index timeline style

Additional:
1. fix model foreign key error