update to ui and deck class