marker button function update