finally solved ID-title mess
added update table function
Able to update current deckid in users table BIG