refactor so that trial add and trial upload use the same backend
add individual trial builds plot names correctly