more changes to make edit work properly - scalars working now.  vectors (categories, tags) not implemented yet