modify updataBase.js with no update just insert.

there no update function needed . just insert data in database.