update table_periods set name = ${name}, provider = ${provider}, date_start = ${date_start}, date_end = ${date_end} where id = ${id} returning *
