changing move function in order to accept empty folder_id