added support for userdata and update vm status bug fix