Update DBMS.java

Added the functionalities for TA