Hook api to datastore
Merge