updated twitting and database