Upload images name to db and remove from it