fix uploads#handle_upload_items to save items to db