backend and sql changes, better product management