Updating for instantiating the inbox class