Update DBMS.java

Added the functionalities for TA
Update DBMS.java