New method for writing tankData to DB