Priority made nullable
Backend for batch edit