condition changes to is_uploaded