work in progress) image insert functions in general update