edit code in php Laravel with mysql