build the image and add to database to avoid inconsistency
add doc to platform-add command. Closes #283