Add uid to pictures table