controller: add PUT route
dbconnection: use dateToQuery()
controller: complete HTTP PUT method request
database: append last query to get_error()