upadated tables and added few apis