added insert and relational queries for annotation component.