updating spacefunctions in laravel folder