Ok for update method for product model
set relations between tables in models