updating tweet functionality