updating image handler to add the base64 string onto the file and broadcast the entire object; tests