+ add new function to append array to bson object