migration to add ordering value to pictures