Position insertion works
Added publish function to inserting model by connection