added metabox api and updated plugins