remove deprecated function
gc
update composer.json