updated metadata.rb and added default attributes