update meta box fields