notes column rename
formaint sql not complient with pg