UPDATE sql + FRONT FUNCTIONAL