Add submit query